<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php echo $this->load->view('head');?>
</head>
<body onload="selecionarAba('login')">
<div class="main">
  <?php echo $this->load->view('menu');?>
  <div class="content">
    <div class="content_resize">
      <div class="mainbar">
        <div class="article">
          <h2><span>Login</span></h2>
          <?php echo validation_errors('',''); ?>
          <div class="clr"></div>
          <?php echo form_open("home/autenticar");?>
          <table>
          	<tr>
          		<td>
          			<?php echo form_label("Email","email");?>
          		</td>
          		<td>
          			<?php echo form_input(array("name"=>"email","id"=>"email"))?>
          		</td>
          	</tr>
          	<tr>
          		<td>
          			<?php echo form_label("Senha","senha");?>
          		</td>
          		<td>
          			<?php echo form_password(array("name"=>"senha","id"=>"senha"));?>
          		</td>
          	</tr>
          	<tr>
          		<td colspan="2" align="right">
          			<?php echo form_submit(array("value"=>"Entrar"));?>
          		</td>
          	</tr>
          </table>
          <?php echo form_close();?>
        </div>
        
      </div>
      <!-- <div class="sidebar">
        <div class="gadget">
          <h2 class="star"><span>Sidebar</span> Menu</h2>
          <div class="clr"></div>
          <ul class="sb_menu">
            <li class="active"><a href="#">Home</a></li>
            <li><a href="#">TemplateInfo</a></li>
            <li><a href="#">Style Demo</a></li>
            <li><a href="#">Blog</a></li>
            <li><a href="#">Archives</a></li>
          </ul>
        </div>
         -->
      </div>
      <div class="clr"></div>
    </div>
  </div>
  
  <?php echo $this->load->view('footer');?>
  
</body>
</html>